# FILE: Duration.py
# DESC: Encapsulates a duration from web document 
#

from WebEntity import WebEntity
from infra.logging import logger

class Duration(WebEntity):

	def __init__(self, data):
		self.data_ = data
		log = logger.getLogger()
		log.debug("%s = %s" % (self, self.__dict__))


	def toString(self):
		return self.data_


	def dump(self):
		return self.__dict__
